[INFO] fetching crate kg-display-derive 0.1.1...
[INFO] fixing kg-display-derive-0.1.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate kg-display-derive 0.1.1 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate kg-display-derive 0.1.1
[INFO] finished tweaking crates.io crate kg-display-derive 0.1.1
[INFO] tweaked toml for crates.io crate kg-display-derive 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate kg-display-derive 0.1.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 27 packages to latest compatible versions
[INFO] [stderr]       Adding kg-utils v0.2.4 (available: v0.4.0)
[INFO] [stderr]       Adding proc-macro2 v0.4.30 (available: v1.0.106)
[INFO] [stderr]       Adding quote v0.6.13 (available: v1.0.46)
[INFO] [stderr]       Adding syn v0.15.44 (available: v2.0.118)
[INFO] [stderr]       Adding synstructure v0.11.0 (available: v0.13.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 309ad4d091716bb8fd18930a14821cdc09eac62b9df0f2cfa949097fffbcb03b
[INFO] running `Command { std: "docker" "start" "309ad4d091716bb8fd18930a14821cdc09eac62b9df0f2cfa949097fffbcb03b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "309ad4d091716bb8fd18930a14821cdc09eac62b9df0f2cfa949097fffbcb03b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "309ad4d091716bb8fd18930a14821cdc09eac62b9df0f2cfa949097fffbcb03b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "309ad4d091716bb8fd18930a14821cdc09eac62b9df0f2cfa949097fffbcb03b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling heapsize v0.4.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking unicode-xid v0.1.0
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]     Checking memchr v2.8.2
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]     Checking quote v0.6.13
[INFO] [stderr]    Compiling kg-utils v0.2.4
[INFO] [stderr]    Compiling kg-display v0.1.2
[INFO] [stderr]     Checking synstructure v0.11.0
[INFO] [stderr]     Checking kg-display-derive v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]        Fixed src/lib.rs (9 fixes)
[INFO] [stderr]    Migrating tests/tests.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.98s
[INFO] [stderr] crater-edition-check: kg-display-derive v0.1.1 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling kg-display-derive v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> tests/tests.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Display)]
[INFO] [stdout]   |                 ^------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Display` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_TestEnum`
[INFO] [stdout] 9 | enum TestEnum {
[INFO] [stdout]   |      -------- `TestEnum` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Display` may come from an old version of the `kg_display_derive` crate, try updating your dependency with `cargo update -p kg_display_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> tests/tests.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Debug, Display)]
[INFO] [stdout]    |                 ^------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_TestStruct`
[INFO] [stdout] 24 | #[display(fmt = "test struct with fields - field1: {field1}.")]
[INFO] [stdout] 25 | struct TestStruct {
[INFO] [stdout]    |        ---------- `TestStruct` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Display` may come from an old version of the `kg_display_derive` crate, try updating your dependency with `cargo update -p kg_display_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.67s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking kg-display-derive v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/lib.rs (1 fix)
[INFO] [stderr]    Migrating tests/tests.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.31s
[INFO] [stderr] crater-edition-check: kg-display-derive v0.1.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling kg-display-derive v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]  --> tests/tests.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Display)]
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: message: Failed to parse gen_impl: Error("unexpected end of input, expected token tree")
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]   --> tests/tests.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Debug, Display)]
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: Failed to parse gen_impl: Error("unexpected end of input, expected token tree")
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `kg_display::ListDisplay`
[INFO] [stdout]  --> tests/tests.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use kg_display::ListDisplay;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `TestEnum` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/tests.rs:37:71
[INFO] [stdout]    |
[INFO] [stdout] 37 |     assert_eq!("struct with fields - field1: string1.", format!("{}", e));
[INFO] [stdout]    |                                                                  --   ^ `TestEnum` cannot be formatted with the default formatter
[INFO] [stdout]    |                                                                  |
[INFO] [stdout]    |                                                                  required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TestEnum`
[INFO] [stdout]   --> tests/tests.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum TestEnum {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `TestEnum` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/tests.rs:44:68
[INFO] [stdout]    |
[INFO] [stdout] 44 |     assert_eq!("tuple with fields - string1, false", format!("{}", e));
[INFO] [stdout]    |                                                               --   ^ `TestEnum` cannot be formatted with the default formatter
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TestEnum`
[INFO] [stdout]   --> tests/tests.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum TestEnum {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `TestEnum` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/tests.rs:51:39
[INFO] [stdout]    |
[INFO] [stdout] 51 |     assert_eq!("plain", format!("{}", e));
[INFO] [stdout]    |                                  --   ^ `TestEnum` cannot be formatted with the default formatter
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TestEnum`
[INFO] [stdout]   --> tests/tests.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum TestEnum {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `TestEnum` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/tests.rs:58:65
[INFO] [stdout]    |
[INFO] [stdout] 58 |     assert_eq!("elements: one, two, three, four", format!("{}", e));
[INFO] [stdout]    |                                                            --   ^ `TestEnum` cannot be formatted with the default formatter
[INFO] [stdout]    |                                                            |
[INFO] [stdout]    |                                                            required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TestEnum`
[INFO] [stdout]   --> tests/tests.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum TestEnum {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `TestStruct` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/tests.rs:68:76
[INFO] [stdout]    |
[INFO] [stdout] 68 |     assert_eq!("test struct with fields - field1: string1.", format!("{}", e));
[INFO] [stdout]    |                                                                       --   ^ `TestStruct` cannot be formatted with the default formatter
[INFO] [stdout]    |                                                                       |
[INFO] [stdout]    |                                                                       required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TestStruct`
[INFO] [stdout]   --> tests/tests.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct TestStruct {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kg-display-derive` (test "tests") due to 7 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "309ad4d091716bb8fd18930a14821cdc09eac62b9df0f2cfa949097fffbcb03b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "309ad4d091716bb8fd18930a14821cdc09eac62b9df0f2cfa949097fffbcb03b", kill_on_drop: false }`
[INFO] [stdout] 309ad4d091716bb8fd18930a14821cdc09eac62b9df0f2cfa949097fffbcb03b
